Measures the specified text when drawn with the specified font.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public static Size MeasureText ( |
Visual Basic
Copy Code
|
|---|
Public Shared Function MeasureText( _ |
The string to measure.
A FontFamily instance specifying the font.
A double value specifying the font size.
A double value specifying the maximum width for the text.
A Size instance representing the text size.
See Also